# $OpenBSD: Makefile,v 1.6 2015/11/17 22:52:06 zhuk Exp $

ONLY_FOR_ARCHS=	${APM_ARCHS}

COMMENT=	small utilities for X11 system tray: eject, battery, mixer

DISTNAME=	tray-app-0.3.1

CATEGORIES=	sysutils x11

HOMEPAGE=	http://www.bsdua.org/tray-app.html

# Public domain
PERMIT_PACKAGE_CDROM=	Yes

WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender atk-1.0 c cairo fontconfig freetype gdk-x11-2.0
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 m
WANTLIB += notify pango-1.0 pangocairo-1.0 pangoft2-1.0 pthread z

MASTER_SITES=	http://www.bsdua.org/files/

LIB_DEPENDS=	devel/libnotify \
		x11/gtk+2
MODULES=	devel/gettext

MAKE_FLAGS=	CC="${CC}"

NO_TEST=	Yes

do-configure:
	${SUBST_CMD} ${WRKSRC}/*/Makefile

.include <bsd.port.mk>
